package barcelonaEventsWS.data;

import java.io.Serializable;

public class EventDTO implements Serializable
{
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	private String name;
	private String date;
	private String description;
	private int places;
	
	public EventDTO() // Dejamos el constructor por defecto para el Web Services
	{
	
	}

	public EventDTO(String name, String date, String description, int places)
	{
		this.name = name;
		this.date = date;
		this.description = description;
		this.places = places;
	}

	public String getName()
	{
		return name;
	}
	
	public void setName(String name)
	{
		this.name = name;
	}
	
	public String getDate()
	{
		return date;
	}
	
	public void setDate(String date)
	{
		this.date = date;
	}
	
	public String getDescription()
	{
		return description;
	}
	
	public void setDescription(String description)
	{
		this.description = description;
	}
	
	public int getPlaces()
	{
		return places;
	}
	
	public void setPlaces(int places)
	{
		this.places = places;
	}
}
